package hu.mapro.flang.gwt.domain.server.entities;

import hu.mapro.model.LongId;

import javax.persistence.FetchType;
import javax.persistence.ManyToOne;

import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.entity.RooJpaEntity;

@RooJpaEntity
@RooJavaBean
public class Chapter implements LongId {

	@ManyToOne(fetch=FetchType.LAZY)
	Book book;

	Integer number;

	String title;
	
}
